Optimal. Leaf size=42 \[ -\frac{1}{2} b \cosh (a) \text{Chi}\left (\frac{b}{x^2}\right )-\frac{1}{2} b \sinh (a) \text{Shi}\left (\frac{b}{x^2}\right )+\frac{1}{2} x^2 \sinh \left (a+\frac{b}{x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0821355, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {5320, 3297, 3303, 3298, 3301} \[ -\frac{1}{2} b \cosh (a) \text{Chi}\left (\frac{b}{x^2}\right )-\frac{1}{2} b \sinh (a) \text{Shi}\left (\frac{b}{x^2}\right )+\frac{1}{2} x^2 \sinh \left (a+\frac{b}{x^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5320
Rule 3297
Rule 3303
Rule 3298
Rule 3301
Rubi steps
\begin{align*} \int x \sinh \left (a+\frac{b}{x^2}\right ) \, dx &=-\left (\frac{1}{2} \operatorname{Subst}\left (\int \frac{\sinh (a+b x)}{x^2} \, dx,x,\frac{1}{x^2}\right )\right )\\ &=\frac{1}{2} x^2 \sinh \left (a+\frac{b}{x^2}\right )-\frac{1}{2} b \operatorname{Subst}\left (\int \frac{\cosh (a+b x)}{x} \, dx,x,\frac{1}{x^2}\right )\\ &=\frac{1}{2} x^2 \sinh \left (a+\frac{b}{x^2}\right )-\frac{1}{2} (b \cosh (a)) \operatorname{Subst}\left (\int \frac{\cosh (b x)}{x} \, dx,x,\frac{1}{x^2}\right )-\frac{1}{2} (b \sinh (a)) \operatorname{Subst}\left (\int \frac{\sinh (b x)}{x} \, dx,x,\frac{1}{x^2}\right )\\ &=-\frac{1}{2} b \cosh (a) \text{Chi}\left (\frac{b}{x^2}\right )+\frac{1}{2} x^2 \sinh \left (a+\frac{b}{x^2}\right )-\frac{1}{2} b \sinh (a) \text{Shi}\left (\frac{b}{x^2}\right )\\ \end{align*}
Mathematica [A] time = 0.0254909, size = 39, normalized size = 0.93 \[ \frac{1}{2} \left (-b \cosh (a) \text{Chi}\left (\frac{b}{x^2}\right )-b \sinh (a) \text{Shi}\left (\frac{b}{x^2}\right )+x^2 \sinh \left (a+\frac{b}{x^2}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.023, size = 58, normalized size = 1.4 \begin{align*} -{\frac{{{\rm e}^{-a}}{x}^{2}}{4}{{\rm e}^{-{\frac{b}{{x}^{2}}}}}}+{\frac{{{\rm e}^{-a}}b}{4}{\it Ei} \left ( 1,{\frac{b}{{x}^{2}}} \right ) }+{\frac{{{\rm e}^{a}}{x}^{2}}{4}{{\rm e}^{{\frac{b}{{x}^{2}}}}}}+{\frac{{{\rm e}^{a}}b}{4}{\it Ei} \left ( 1,-{\frac{b}{{x}^{2}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.21857, size = 53, normalized size = 1.26 \begin{align*} \frac{1}{2} \, x^{2} \sinh \left (a + \frac{b}{x^{2}}\right ) - \frac{1}{4} \,{\left ({\rm Ei}\left (-\frac{b}{x^{2}}\right ) e^{\left (-a\right )} +{\rm Ei}\left (\frac{b}{x^{2}}\right ) e^{a}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.71276, size = 158, normalized size = 3.76 \begin{align*} \frac{1}{2} \, x^{2} \sinh \left (\frac{a x^{2} + b}{x^{2}}\right ) - \frac{1}{4} \,{\left (b{\rm Ei}\left (\frac{b}{x^{2}}\right ) + b{\rm Ei}\left (-\frac{b}{x^{2}}\right )\right )} \cosh \left (a\right ) - \frac{1}{4} \,{\left (b{\rm Ei}\left (\frac{b}{x^{2}}\right ) - b{\rm Ei}\left (-\frac{b}{x^{2}}\right )\right )} \sinh \left (a\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \sinh{\left (a + \frac{b}{x^{2}} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \sinh \left (a + \frac{b}{x^{2}}\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]